<style>
.error, .error_list li {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4; font-size: 11px;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.error, .notice, .success, .error_list li {padding:.8em;margin: 1em 0 0 0;border:2px solid #ddd; list-style: none;}

</style>
<div id="fil-ariane">
	<a href="" class="first">Accueil</a>
	<span>Inscription</span>
</div>

<h1 class="classementH1"><img alt="" src="/images/fleche-left.png"> Se connecter ou s'inscrire</h1>
<div id="inscription-content">
	<h1 style="background : url(/images/template_white/1gris.png) no-repeat left center">Connectez-vous soit</h1>
	
	<div class="fbAlign">
		<?php include_partial('inscription/fbLogin'); ?>
	</div>

	<p>ou</p>
	<form method="POST">
		<input type="hidden" name="action" value="login" />
		<table class="connexion-table">
			<tr>
				<td width ="155"><label>Pseudo</label></td>
				<td width="200"><input type="text" name="login" /></td>
			</tr>
			<tr>
				<td><label>Mot de passe</label></td>
				<td><input type="text" name="mdp" /></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" value="Connexion" class="connexion-submit" name=""></td>
			</tr>
		</table>
	</form>
	<p>ou</p>
	<h1 class="second-title"><?php echo __('Vous ne possédez pas encore de compte'); ?>, <a id='new-user' href="#"><?php echo __('inscrivez-vous');?></a> <img src="/images/fleche-js-inscription-prev.png" class="fleche-js" alt="" /></h1>
	<form method="POST" class="second-form">
		<input type="hidden" name="action" value="new-user" />
		<legend><?php echo __('Créer votre compte'); ?></legend>
		<ul class='formRegister'>
			<?php foreach ($form as $widget): ?>
			
			<?php if ($widget->hasError()): ?>
			   <li class='error'><?php echo $widget->getError(); ?></li>
			<?php endif; ?>
			
			<?php if (!$widget->isHidden()) { ?>
			 <li>
			 	<span>
			 		<?php echo $widget->renderLabel(); ?>
					<?php echo $widget->renderHelp() ?>
				</span>
			 	<?php echo $widget->render() ?>
			 </li>
			 <?php } else { ?>
			 	<li><?php echo $widget->render() ?></li>
			 <?php } ?>
			<?php endforeach; ?>
		</ul>
		<?php echo $form->renderHiddenFields() ; ?>
		<p><input type="submit" id='submit' value="<?php echo __('S\'enregistrer'); ?>" /></p>
	</form>
</div>

<div class="clear"></div>